#
# Be sure to run `pod lib lint HomePageModule.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'HomePageModule'
  s.version          = '2.4.0'
  s.summary          = 'A short description of HomePageModule.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/shk123/HomePageModule'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '139994824@qq.com' => '139994824@qq.com' }
  s.source           = { :git => 'https://gitee.com/shk123/HomePageModule.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  s.ios.deployment_target = '8.0'
  
  s.subspec "YsNoteModule" do |sss|
      sss.source_files = 'HomePageModule/Classes/YsNoteModule/**/*'
      sss.public_header_files ='HomePageModule/Classes/YsNoteModule/**/*'
end


  
#   s.resource_bundles = {
#     'HomePageModule' => ['HomePageModule/Assets/*.xcassets']
#   }

s.resource_bundles = {
'YsNoteSDK' => ['HomePageModule/Assets/**/*']
}
  
s.dependency 'MBProgressHUD'
s.dependency 'AFNetworking'
s.dependency 'SWTableViewCell'
s.dependency 'Realm'
s.dependency 'SSZipArchive'
s.dependency 'ReactiveObjC'
s.dependency 'Masonry'
s.dependency 'YYKit'
s.dependency 'YCShadowView'
s.dependency 'SDWebImage'
s.dependency 'IQKeyboardManager'
s.dependency 'DYSafeObject'
  
#  s.vendored_frameworks = ['HomePageModule/Classes/SmartFrameWork/SmartPenSDK.framework']
#/Users/Cer/Documents/组件化/HomePageModule/HomePageModule/Classes/SmartFrameWork/SmartPenSDK.framework/Headers


s.subspec "Core" do |ss|
  ss.vendored_frameworks = "HomePageModule/Classes/SmartFrameWork/SmartPenSDK.framework"
  ss.source_files = "HomePageModule/Classes/SmartFrameWork/SmartPenSDK.framework/Headers/*.h"
  ss.public_header_files = "HomePageModule/Classes/SmartFrameWork/SmartPenSDK.framework/Headers/*.h"
end


  s.prefix_header_contents = '#import "YsNote.h"'

end
